UCF STIG Viewer Logo

The Oracle Linux operating system must mount /dev/shm with the noexec option.


Overview

Finding ID Version Rule ID IA Controls Severity
V-99233 OL07-00-021024 SV-108337r1_rule Low
Description
The "noexec" mount option causes the system not to execute binary files. This option must be used for mounting any file system not containing approved binary files, as they may be incompatible. Executing files from untrusted file systems increases the opportunity for unprivileged users to attain unauthorized administrative access.
STIG Date
Oracle Linux 7 Security Technical Implementation Guide 2020-05-29

Details

Check Text ( C-98079r1_chk )
Verify that the "noexec" option is configured for /dev/shm:

# cat /etc/fstab | grep /dev/shm

tmpfs /dev/shm tmpfs defaults,nodev,nosuid,noexec 0 0

If any results are returned and the "noexec" option is not listed, this is a finding.

Verify "/dev/shm" is mounted with the "noexec" option:

# mount | grep "/dev/shm" | grep noexec

If no results are returned, this is a finding.
Fix Text (F-104915r1_fix)
Configure the system so that /dev/shm is mounted with the "noexec" option.